package com.baike.mapper;

import com.baike.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author x_FG
 * @since 2021-10-28
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> selectUserRoleMenu(Integer uid);

    List<String> selectMenuPerms(Integer uid);
}
